package com.site.wisdom_construction.service.qualityModule;

import com.site.wisdom_construction.dao.qualityModule.QualityRiskSourcePublicDao;
import com.site.wisdom_construction.entity.qualityModule.QualityRiskSourcePublic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/15
 * @Description
 */
@Service
public class QualityRiskSourcePublicService implements QualityRiskSourcePublicDao {
    @Autowired
    private QualityRiskSourcePublicDao qualityRiskSourcePublicDao;

    @Override
    public int insertQualityRiskSourcePublic(Map map) {
        return qualityRiskSourcePublicDao.insertQualityRiskSourcePublic(map);
    }

    @Override
    public int deleteQualityRiskSourcePublic(Map map) {
        return qualityRiskSourcePublicDao.deleteQualityRiskSourcePublic(map);
    }

    @Override
    public int updateQualityRiskSourcePublic(Map map) {
        return qualityRiskSourcePublicDao.updateQualityRiskSourcePublic(map);
    }

    @Override
    public List<QualityRiskSourcePublic> findQualityRiskSourcePublicByPage(Map map) {
        return qualityRiskSourcePublicDao.findQualityRiskSourcePublicByPage(map);
    }

    @Override
    public long Total(Map map) {
        return qualityRiskSourcePublicDao.Total(map);
    }

    @Override
    public List<QualityRiskSourcePublic> selectQualityRiskSourcePublic(Map map) {
        return qualityRiskSourcePublicDao.selectQualityRiskSourcePublic(map);
    }

    @Override
    public QualityRiskSourcePublic findQualityRiskSourcePublicById(Map map) {
        return qualityRiskSourcePublicDao.findQualityRiskSourcePublicById(map);
    }
}
